package com.mingqijia.gassafety.db.mapper;

import com.mingqijia.gassafety.db.entity.ConsumerDtuHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 * 设备绑定客户历史表 Mapper 接口
 * </p>
 *
 * @author zhangfei
 * @since 2022-05-16
 */
@Repository
@Mapper
public interface ConsumerDtuHistoryMapper extends BaseMapper<ConsumerDtuHistory> {
    List<ConsumerDtuHistory> selectListByImei(@Param("imei")String imei,@Param("spId") String spId,
                                              @Param("custAddress")String custAddress, @Param("custName")String custName,
                                              @Param("custPhone") String custPhone, @Param("event")Integer event,
                                              @Param("industryType") String industryType,
                                              @Param("subsCode") String subsCode,
                                              @Param("channel") Integer channel);



}
